export default {
    condition: '',
    selectionID: [],
    limits: false,
    list: {
        thead: [{
                label: '角色标识',
                prop: "roleTags",
                rowspan: 1
            },
            {
                label: '角色名称',
                prop: "roleName",
                rowspan: 1
            },
            {
                label: '角色描述',
                prop: "roleDescription",
                rowspan: 1
            },
        ],
        tbody: []
    },
    Uplist: {
        thead: [{
                label: '资源编码',
                prop: "code",
                rowspan: 1
            },
            {
                label: '资源类型',
                prop: "type",
                rowspan: 1
            },
            {
                label: '资源名称',
                prop: "name",
                rowspan: 1
            },
            {
                label: '资源地址',
                prop: "uri",
                rowspan: 1
            },
        ],
        tbody: []
    },
    dialog: false,
    compileDialog: false,
    ruleForm: {
        name: '',
        identifying: '',
        content: ''
    },
    rules: {
        name: [{
                required: true,
                message: '请输入名称',
                trigger: 'blur'
            },
            // { max: 50, message: '长度在 3 到 5 个字符', trigger: 'blur' }
        ],
        content: [{
                required: true,
                message: '请输入内容',
                trigger: 'blur'
            },
            // { min: 3, max: 5, message: '长度在 3 到 5 个字符', trigger: 'blur' }
        ],
        identifying: [{
                required: true,
                message: '请输入内容',
                trigger: 'blur'
            },
            // { min: 3, max: 5, message: '长度在 3 到 5 个字符', trigger: 'blur' }
        ],
    },
    data: [],
    defaultProps: {
        children: 'childMenuList',
        label: 'menuName',
        // menuId : 'menuId'
    },
    selectMenuList: [],
    selectMenuChildList: [],
    currentSelectMenuIndex: 0,
    allMenuid: [],
    roleId: '',
    roleSearch: [],
    roleName: '',
    roleTags: '',
    RoleID: '', //编辑用
    total: 0,
    pageData : {
      loading :false
    }
}
